﻿using Microsoft.Extensions.Configuration;
using System.IO;
using XLB.ExtensionMethodCore;
using XLB.ExtensionMethodCore.Files;



// 读取配置值
var message = DotNetCoreReadSettingManager.GetAppSettingsValue("BasicConfig:EncryptionKey");
Console.WriteLine(message); // 输出：Hello, World!
var message1 = DotNetCoreReadSettingManager.GetBaseSettingsValue("Configurations/App.json", "BasicConfig:EncryptionKey");
Console.WriteLine(message1);

FileHelper.DownLoadFile("https://oss.cloudhubei.com.cn/cms/release/set35/20241014/f3af08b621af0b7c0648c48dcd964000.jpg", "C:\\Users\\xielb\\Pictures\\images", "test.jpg");
